class AddAttachmentPictureToGoods < ActiveRecord::Migration[7.0]
    def self.up
      change_table :goods do |t|
        t.attachment :picture
      end
    end
  
    def self.down
      remove_attachment :goods, :picture
    end
  end